Information processing apparatus, control method for information processing apparatus, and storage medium

ABSTRACT

An information processing apparatus which accepts designation of a first image category from among a plurality of image categories including a visible light image, an infrared light image, and a composite image, accepts designation of a second image category different from the first image category from among the plurality of image categories, displays an image of the accepted first image category in a display region of a display unit, and accepts designation of a region in the image of the first image category displayed in the display region, wherein an image of the accepted second image category is displayed in the accepted region.

BACKGROUND OF THE INVENTION Field of the Invention

The present disclosure relates to an information processing apparatus, acontrol method for the information processing apparatus, and a storagemedium.

Description of the Related Art

Among shooting apparatuses, some apparatuses have an image sensor thatcan obtain a color image and an image sensor that can obtain amonochrome image, and are capable of displaying a “color image”, a“monochrome image”, and also a “composite color image” obtained bycompositing a color image and a monochrome image.

Also, there is a method in which, with use of an image captured by ashooting apparatus, a partial region of a color image is displayed as amonochrome image, or a partial region of a monochrome image is displayedas a color image. Japanese Patent Laid-Open No. 2016-186555 discloses amethod in which only a partial region of one of a monochrome image and acolor (visible) image is extracted, and the extracted partial region isdisplayed superimposed on the other image. A method is disclosed thatrealizes a peaking function by displaying an outline of an objectdisplayed in a monochrome image as a color image.

With the above-described shooting apparatus, a composite color image canbe displayed even in a dark place (a place with insufficientilluminance) in which only a monochrome image was able to be displayedconventionally, and the convenience of a user can be improved. However,when this shooting apparatus is used for a monitoring purpose, there isa risk that a significant brightness difference arises within an imagecapturing region; for example, in night-time shooting, it is plausiblethat a range that is reached by a street light is bright whereas a rangethat is not reached by the street light is dark.

SUMMARY OF THE INVENTION

Provided is a technique capable of appropriately setting regions thatare displayed within an image capturing region respectively usingdifferent image categories, such as a region displayed using a colorimage, a region displayed using a monochrome image, and a regiondisplayed using a composite color image.

One aspect of exemplary embodiments relates to an information processingapparatus, comprising, a first acceptance unit configured to acceptdesignation of a first image category from among a plurality of imagecategories including a visible light image, an infrared light image, anda composite image based on the visible light image and the infraredlight image, a second acceptance unit configured to accept designationof a second image category from among the plurality of image categories,the second image category being different from the first image category,a display control unit configured to display an image of the first imagecategory accepted by the first acceptance unit in a display region of adisplay unit, and a region acceptance unit configured to acceptdesignation of a region in the image of the first image categorydisplayed in the display region, wherein the display control unitdisplays an image of the second image category accepted by the secondacceptance unit in the region accepted by the region acceptance unit.

Further features of the present invention will become apparent from thefollowing description of exemplary embodiments (with reference to theattached drawings).

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram showing an exemplary configuration of a systemcorresponding to embodiments.

FIG. 2A is a diagram showing an exemplary hardware configuration of aninformation processing apparatus 120 corresponding to embodiments.

FIG. 2B is a diagram showing a functional configuration of a shootingapparatus 110.

FIG. 3A is a diagram showing an example of a user interface (UI) that isdisplayed on a display unit 122 of the information processing apparatus120 corresponding to an embodiment.

FIG. 3B is a diagram showing an example of a user interface (UI) that isdisplayed on the display unit 122 of the information processingapparatus 120 corresponding to an embodiment.

FIG. 3C is a diagram showing an example of a user interface (UI) that isdisplayed on the display unit 122 of the information processingapparatus 120 corresponding to an embodiment.

FIG. 3D is a diagram showing an example of a user interface (UI) that isdisplayed on the display unit 122 of the information processingapparatus 120 corresponding to an embodiment.

FIG. 4 is a flowchart showing an example of processing corresponding toa first embodiment.

FIG. 5 is a flowchart showing an example of processing corresponding toa second embodiment.

FIG. 6 is a flowchart showing an example of processing corresponding toa third embodiment.

FIG. 7 is a flowchart showing an example of processing corresponding toa fourth embodiment.

DESCRIPTION OF THE EMBODIMENTS

The following describes embodiments in detail based on the attacheddrawings.

First Embodiment

First, a configuration of a system according to a first embodiment willbe described using a block diagram of FIG. 1. FIG. 1 is a block diagramshowing an exemplary configuration of the system according to the firstembodiment. In FIG. 1, a system 100 is composed of a shooting apparatus110, an information processing apparatus 120, and a display apparatus130 that are connected to one another via a network 140. The constituentelements of the system 100 shown in FIG. 1 are merely examples, andconstituent elements other than these may be further added. Below, eachconstituent element will be described.

The shooting apparatus 110 can include an image capturing unit 111, acontrol unit 112, and a communication unit 113. The image capturing unit111 can include an optical system, an image capturing sensor, adevelopment processing unit, an encoding unit, and the like. Forexample, the image capturing unit 111 can not only obtain still images,but also obtain 30-fps moving images (a live video) of a monitoredregion by obtaining 30 frames worth of images per second. The imagecapturing unit 111 can be configured to include an image sensor for acolor image and an image sensor for a monochrome image, and can outputeach of the color image and the monochrome image. Furthermore, the imagecapturing unit 111 can also generate a composite color image from thecolor image and the monochrome image and output the composite colorimage.

The control unit 112 adjusts shooting conditions of the shootingapparatus 110, such as an angle of view, a shooting direction, a framerate, and a category of an image to be obtained. The adjustment of theshooting conditions can be executed in accordance with an instructionfrom a user, and can also be executed in accordance with setting valuesthat have been stored in the shooting apparatus 110 in advance. When theuser issues an instruction, the instruction may be issued from theinformation processing apparatus 120 or the display apparatus 130 viathe network 140, or may be issued directly via a console terminalconnected to the shooting apparatus 110 or an operation unit (notillustrated) included in the shooting apparatus 110. Furthermore, thecontrol unit 112 controls the image capturing unit 111 in relation to,for example, the start/end of shooting in accordance with a commandtransmitted from the information processing apparatus 120 and thedisplay apparatus 130.

The communication unit 113 is a communication interface for transmittingimage data that has been generated by the image capturing unit 111through shooting to the information processing apparatus 120 and thedisplay apparatus 130 by way of the network 140. The communication unit113 adjusts exchange of data with a communication partner using, forexample, a network file system, such as an NFS and a CIFS, or a networkcommunication protocol, such as a UDP and a TCP. The communication unit113 also receives setting information and a command for controlling theshooting apparatus 110 from the information processing apparatus 120 andthe display apparatus 130, and supplies them to the control unit 112.The control unit 112 controls the operations of the shooting apparatus110 in conformity with these setting information and command.

The information processing apparatus 120 is configured to include acontrol unit 121, a display unit 122, a storage unit 123, a database(DB) management unit 124, a database (DB) 125, an operation unit 126, animage processing unit 127, and a communication unit 128. The controlunit 121 controls the operations of each unit of the informationprocessing apparatus 120. The display unit 122 can display userinterfaces for displaying image data obtained from the shootingapparatus 110, which will be described later with reference to FIG. 3Ato FIG. 3D. The display unit 122 may also have a function of performingaudio output in addition to image output. The display unit 122 can becomposed of a displaying apparatus, such as a display, and a displaycontrol unit that controls display on this displaying apparatus.Furthermore, the style of the display may be such that the display ispositioned outside the information processing apparatus 120 and isconnected to the information processing apparatus 120 for use.

The storage unit 123 stores image data received from the shootingapparatus 110, and stores information that is used for processing in theimage processing unit 127 as well as the result of the processing. Theoperation unit 126 can accept operations from an operator of theinformation processing apparatus 120. Specifically, the operation unit126 can accept operations for changing the settings of the shootingapparatus 110 and the information processing apparatus 120, and caninclude a keyboard, a mouse, various types of operation buttons, atouchscreen, and the like. The operations accepted by the informationprocessing apparatus 120 include an operation on a pull-down menu and abutton, designation and changing of a region, and the like using theuser interfaces of FIG. 3A to FIG. 3D, which will be described later.

When a plurality of shooting apparatuses 110 are connected to thenetwork 140, the operation unit 126 enables instructional input fordisplaying image data corresponding to the plurality of apparatuses onone screen on the display unit 122. It is also possible to performinstructional input for selecting one piece of image data on the screenand displaying this image data on the display unit 122. Furthermore, itis possible to perform instructional input for setting and changingvarious types of setting information.

The image processing unit 127 is a processing unit that executes imageprocessing corresponding to the present embodiment. This imageprocessing includes, for example, processing for generating a compositecolor image from a monochrome image and a color image, processing forgenerating an embedded image by extracting an image to be displayed in aregion designated by a user from an image of a selected image category,and the like. Furthermore, processing for removing specific wavelengthcomponents with respect to a monochrome image and a color image receivedfrom the shooting apparatus 110 can also be performed. The generatedmonochrome image, color image, and composite color image can be storedinto the DB 125 via the DB management unit 124 in association withvarious types of attribute information, such as the date and time ofimage capture and the location of image capture. The details of thefunctional configuration and operations of the image processing unit 127will be described later.

The communication unit 128 receives image data transmitted from theshooting apparatus 110. The communication unit 128 can also transmit, tothe shooting apparatus 110, setting information, control information,and a distribution command that have been set by a user of theinformation processing apparatus 120 using the display unit 122 and theoperation unit 126. Furthermore, the communication unit 128 can outputthe result of processing of image data in the information processingapparatus 120 (including the aforementioned notifications) to thedisplay apparatus 130 connected to the network 140.

The display apparatus 130 can display an image shot by the shootingapparatus 110, and can also output an image which has been received fromthe information processing apparatus 120 and with which an embeddedimage has been composited. Furthermore, the display apparatus 130 canalso provide a user interface that is intended to issue an instructionfor, or change, the shooting conditions and shooting parameters ofshooting performed by the shooting apparatus 110, and can display adistributed video.

The network 140 is a collection of nodes and communication links thatenables IP-based communication, such as a LAN and the Internet. In thenetwork 140, a communication link of a necessary form is implemented inaccordance with the intended use and purpose, whether the form is wiredor wireless. The shooting apparatus 110 can shoot a live video inconformity with the designated shooting conditions, and distribute theobtained image data to each apparatus by way of the network 140.

The present embodiment is described based on a case where one shootingapparatus 110 is used; however, in the configuration of the system 100shown in FIG. 1, the number of the shooting apparatus 110 can be anynumber equal to or larger than one, and there is no limitation on thenumber. In the information processing apparatus 120 and the displayapparatus 130, each function may be realized by a plurality ofapparatuses working in coordination with one another, rather than beingrealized by a single apparatus.

Next, a description is given of a schematic configuration of theinformation processing apparatus 120 that composes the system 100corresponding to the present embodiment. FIG. 2A is a block diagramshowing one example of a hardware configuration of the informationprocessing apparatus 120. The above-described display apparatus 130 mayalso be configured to have a similar or equivalent hardwareconfiguration.

In FIG. 2A, a CPU 200 can operate as the control unit 121, executesapplication programs, an operating system (OS), control programs, andthe like that are stored in a hard disk apparatus (hereinafter referredto as an HD) 205, and performs control to temporarily store information,files, and the like that are necessary for the execution of programsinto a RAM 202. Furthermore, the CPU 200 can also operate as the imageprocessing unit 127, and executes processing for, for example,generating a composite color image from a monochrome image and a colorimage provided by the shooting apparatus 110. Moreover, the CPU 200controls exchange of data with the external display apparatus 130 via aninterface (I/F) 208. Note that processing of FIG. 4 to FIG. 7, whichwill be described later, can also be realized by controlling the entireapparatus through the execution of corresponding processing programs bythe CPU 200.

A ROM 201 stores therein not only basic I/O programs, but also varioustypes of data, such as application programs that execute predeterminedprocessing. The RAM 202 temporarily stores various types of data, andfunctions as a main memory, a work area, and the like for the CPU 200.Also, the RAM 202 temporarily stores information received from theshooting apparatus 110. An external storage drive 203 is an externalstorage drive for realizing access to a recording medium, and it ispossible to load programs and the like stored in a medium (recordingmedium) 204 into the present computer system. Note that, for example, aFloppy® disk (FD), a CD-ROM, a CD-R, a CD-RW, a PC card, a DVD, aBlu-ray®, an IC memory card, an MO, a memory stick, and the like can beused as the medium 204.

An HD (hard disk) that functions as a large-capacity memory is used asthe hard disk apparatus 205 in the present embodiment. Applicationprograms, an OS, control programs, associated programs, and the like arestored in the HD 205. Note that instead of the hard disk, a nonvolatilestorage apparatus, such as a Flash® memory, may be used. The hard diskapparatus 205 can be configured to function as the database 125.

A keyboard, a pointing device (e.g., a mouse), a touchscreen, and thelike are the equivalent of an instruction input apparatus 206. An outputapparatus 207 outputs a command input from the instruction inputapparatus 206, response output corresponding to this command, and thelike. The output apparatus 207 can include a display, a speaker, aheadphone terminal, and the like. A system bus 209 takes charge of theflow of data within the information processing apparatus 120.

The interface (hereinafter referred to as an I/F) 208 fulfills the roleof mediating exchange of data with an external apparatus. Specifically,the I/F 208 can include a wireless communication module, and this modulecan include a known circuit mechanism that includes an antenna system,an RF transmitter/receiver, one or more amplifiers, a tuner, one or moreoscillators, a digital signal processor, a CODEC chipset, a subscriberidentification module card, a memory, and the like. The I/F 208 can alsoinclude a wired communication module for wired connection. The wiredcommunication module enables communication with another device via oneor more external ports. Furthermore, a variety of software componentsthat process data can be included. The external ports are coupled toanother device either directly via Ethernet, a USB, the IEEE 1394, andthe like, or indirectly via a network. Note that configurations thatreplace hardware apparatuses can also be achieved using software thatrealizes functions equivalent to the respective apparatuses describedabove.

Each time a corresponding program is actuated to execute processingcorresponding to the present embodiment, the program may be loaded fromthe HD 205, in which the program is already installed, into the RAM 202.Furthermore, programs according to the present embodiment can berecorded into the ROM 201, configured to compose a part of a memory map,and executed directly by the CPU 200. Moreover, a corresponding programand associated data can be loaded from the medium 204 directly into theRAM 202 and executed.

Next, with reference to FIG. 2B, a description is given of a functionalconfiguration of the image capturing unit 111 of the shooting apparatus110 corresponding to the present embodiment. FIG. 2B is a block diagramshowing an exemplary functional configuration of the image capturingunit 111 corresponding to the embodiment.

An optical system 211 adjusts a magnification and a point of focus, or alight amount, of a subject image that reaches the image capturingsensor. The optical system 211 includes a predetermined drivingmechanism, such as a motor, for moving a lens, and the operations ofthis driving mechanism are controlled in accordance with an instructionfrom the control unit 112. A prism 212 divides light from the opticalsystem 211; one of the divided light is incident on andphotoelectrically converted in a color image sensor 213, whereas theother of the divided light is photoelectrically converted in amonochrome image sensor 214. Analog image signals obtained byphotoelectrically converting light images that have been respectivelyformed on image capturing planes of the color image sensor 213 and themonochrome image sensor 214, are output to an A/D converter 215 andconverted into digital image signals.

An image processing unit 216 can carry out, for example, developmentprocessing, such as debayer processing, white balance processing, andtone conversion processing, with respect to the digital image signalsoutput from the A/D converter 215. The image processing unit 216 mayalso execute processing for removing specific wavelength components froma monochrome image and a color image, and processing for generating acomposite color image from a monochrome image and a color image. Anencoding unit 217 generates image data by compressing and encoding thedigital image signals output from the development processing unit. Animage compression method can be based on, for example, the standards ofH.264, H.265, MJPEG, JPEG, and the like. Furthermore, image data of anyformat, including an mp4 or avi format, may be generated.

Next, a description is given of processing for generating a compositecolor image from a monochrome image and a color image in the presentembodiment. This processing for generating the composite color image canbe carried out in the image processing unit 127 or the image processingunit 216.

The color image sensor 213 shown in FIG. 2B is an image sensor in whichcolor filters of red, green, and blue are positioned in front oflight-receiving elements, and outputs a color image composed of redcomponents, green components, and blue components. With the color imagesensor 213, visible light can be captured without any waste. On theother hand, the monochrome image sensor 214 is an image sensor in whichcolor filters are not positioned in front of light-receiving elements,and outputs monochrome image data composed of luminance information. Asthe monochrome image sensor 214 has high sensitivity and can alsoreceive light with wavelength components that are longer in wavelengththan visible light, it can capture images with a high spatialresolution.

As described above, the color image sensor 213 and the monochrome imagesensor 214 differ in the wavelength band of received light. In view ofthis, in generating a composite color image, color information isextracted from a color image, and luminance information is extractedfrom monochrome image data, and image data is generated by compositingthe color information and the luminance information; this makes itpossible to obtain image data with which a subject image is vividlydisplayed by taking advantage of such a band difference.

When a color image includes wavelength components outside a visiblelight range, such as infrared light components, the image processingunit 127 and the image processing unit 216 may remove the wavelengthcomponents outside the visible light range and generate a color imagecomposed only of wavelength components within the visible light range.By thus removing wavelength components such as infrared lightcomponents, a color image that is easily comprehensible for human eyesand matches human perception can be obtained. Furthermore, when amonochrome image includes wavelength components within the visible lightrange, the image processing unit 127 and the image processing unit 216can remove the wavelength components within the visible light range,thereby making the monochrome image composed only of wavelengthcomponents outside the visible light range. By thus removing the visiblelight components, a monochrome image that vividly shows a subject can beobtained, even in an environment with poor visibility due to fog, haze,and the like. In this case, the image processing unit 127 and the imageprocessing unit 216 can generate a composite color image by compositingcolor information extracted from a color image that is composed only ofwavelength components within the visible light range, and luminanceinformation extracted from a monochrome image that is composed only ofwavelength components outside the visible light range.

In the present embodiment, it is assumed that a monochrome image, acolor image, and a composite color image have the same size (number ofpixels in the vertical and horizontal directions). Therefore, coordinateinformation of a region that has been designated in a certain image canbe used as coordinate information for extracting a corresponding regionin another image.

Hereinafter, the present embodiment will be described based on a casewhere the shooting apparatus 110 transmits a monochrome image and acolor image to the information processing apparatus 120, and theinformation processing apparatus 120 side generates a composite colorimage. However, the following description about the embodiment issimilarly applicable to a case where the shooting apparatus 110 sidegenerates a composite color image and the shooting apparatus 110transmits images of three image categories, namely a monochrome image, acolor image, and the composite color image, to the informationprocessing apparatus 120.

Next, processing corresponding to the present embodiment will bedescribed with reference to FIG. 3A and FIG. 4. First, FIG. 3A shows anexample of a user interface (UI) that is displayed on the display unit122 of the information processing apparatus 120. In an example of adisplay screen 300 shown in FIG. 3A, an image based on a captured imagethat has been captured by the shooting apparatus 110 is displayed in adisplay region 301 for displaying a background image, and a pull-downmenu 302 is displayed above this display region 301. The pull-down menu302 includes image categories of “monochrome image” and “composite colorimage” as selection elements for the background image displayed in thedisplay region 301, and allows for selection of one of them. Althoughthe present embodiment is described using two image categories (types)of “monochrome image” and “composite color image” as examples, “colorimage” may be further selectable. Also, one of “monochrome image” and“composite color image”, as well as “color image”, may be selectable.

The pull-down menu 302 may be configured so that, for example, amonochrome image (or a composite color image) is selected as a defaultsetting. Also, a region 303 enclosed by a dashed line is a regiondesignated by a user. This region can be designated by, for example, theuser operating an on-screen cursor displayed on the display unit 122using the mouse of the operation unit 126.

Next, the flow of processing in the information processing apparatus 120corresponding to the present embodiment will be described with referenceto a flowchart of FIG. 4. The processing corresponding to this flowchartcan be realized by, for example, one or more processors (e.g., the CPU200) that function as respective processing units executing acorresponding program (stored in the ROM 201, HD 205, and the like).

First, in step S401, the control unit 121 displays a default backgroundimage in the display region 301 within the display screen 300 of thedisplay unit 122. The default background image can be, for example, amonochrome image. In the next step S402, the control unit 121 determineswhether selection of an image category of the background image has beenaccepted from the user. Using the pull-down menu 302 of the displayscreen 300, the user can select one of a monochrome image and acomposite color image. If it is determined that the selection by theuser has been accepted in step S402, the processing proceeds to stepS403. On the other hand, if the selection by the user has not beenaccepted, the processing proceeds to step S404.

In step S403, the control unit 121 displays an image of the imagecategory that was selected in step S402 in the display region 301 of thedisplay screen 300. For example, when the selected image category of thebackground image is a composite color image, a composite color image isdisplayed in the display region 301. In the next step S404, the controlunit 121 determines whether designation of the region 303 within thedisplay region 301 has been accepted from the user. If the control unit121 determines that the region has been accepted, the processingproceeds to step S405. If the control unit 121 determines that thedesignation of the region has not been accepted, the processing returnsto step S402.

In step S405, the control unit 121 extracts an image to be displayed inthe region 303 that was designated in step S404 from an image that isdifferent in image category from the image that has been selected usingthe pull-down menu 302, and displays the extracted image as an embeddedimage (or a superimposed image, a switchover image) in the region 303.For example, when a monochrome image is displayed as the backgroundimage in the display region 301, a composite color image is displayed inthe region 303; when a composite color image is displayed as thebackground image, a monochrome image is displayed in the region 303.Here, as a monochrome image and a composite color image to be displayedhave the same size (number of pixels in the vertical and horizontaldirections) in the present embodiment as stated earlier, the position ofan image to be extracted from a composite color image can be determinedbased on the coordinates of the region designated in a monochrome image.

In this way, in an image displayed as a background image, an arbitrarilydesignated region can be presented using a different image category. Forexample, according to the present embodiment, when a captured imageobtained by capturing a vehicle parked in a parking lot is to be checkedon the display screen 300, a composite color image can be used as thebackground image, and a region showing a license plate can be designatedas the region 303 and displayed as a monochrome image. In this way,while the color of the vehicle is checked using the composite colorimage, the monochrome image with excellent signal-to-noise is used for aportion of the license plate, thereby increasing the visibility of thenumbers.

In the foregoing description, the user can switch the image category ofthe background image using the pull-down menu 302 after designating theregion 303, in which case the image category displayed in the region 303is also switched in response to the switching of the image category ofthe background image.

Furthermore, although the above has described a case where the user candesignate one region 303 within the display region 301, two or moreregions 303 may be settable. Moreover, the shape of the region is notonly a rectangular shape, and can be any shape including a circularshape, an elliptic shape, a polygonal shape, and the like. In addition,a plurality of regions having different shapes, sizes, and frame colorscan be designated with respect to the same background image.

Furthermore, although the foregoing description has presented a casewhere a background image of an image category according to a defaultsetting is displayed before accepting selection by the user with regardto the background image, the display of the background image may bestarted in response to selection of an image category of the backgroundimage by the user. In addition, the content of the setting selected atthe time of completion of previous processing may be stored, and thissetting may be used as a default setting; alternatively, the user may beable to configure a default setting in advance.

Furthermore, a region that has been set on a background image can bedeleted from the image in accordance with a predetermined operation. Asa result of the deletion operation, the original background image isdisplayed in a portion corresponding to this region.

As described above, in the present embodiment, an image that isdifferent in image category from a background image can be displayed inan embedded state (or a superimposed state, a partially switched state)by designating an arbitrary region in the background image. In this way,better visibility can be achieved by switching an image category on aper-region basis in accordance with a subject included in one image.

Second Embodiment

Next, a second embodiment will be described. A configuration of a system100 according to the present embodiment is similar to that shown in FIG.1, FIG. 2A, and FIG. 2B. The above first embodiment has been describedbased on a case where selectable images come in two image categories(types), a monochrome image and a composite color image; in the presentembodiment, a color image is also selectable in addition to these. Thepresent embodiment may be implemented in combination with the firstembodiment, or may be implemented alone.

FIG. 3B shows an example of a user interface (UI) that is displayed onthe display unit 122 of the information processing apparatus 120corresponding to the present embodiment. In an example of a displayscreen 310 shown in FIG. 3B, an image based on a captured image that hasbeen captured by the shooting apparatus 110 is displayed in a displayregion 311 for displaying a background image, and a pull-down menu 312for selecting the background image and a pull-down menu 314 forselecting an embedded image are displayed above this display region 311.Also, a region 313 enclosed by a dashed line is a region designated by auser. This region can be designated by, for example, the user operatingan on-screen cursor displayed on the display unit 122 using the mouse ofthe operation unit 126.

The pull-down menu 312 includes “monochrome image”, “composite colorimage”, and “color image” as selection elements for the background imagedisplayed in the display region 311, and allows for selection of one ofthem. On the other hand, the pull-down menu 314 allows for selection ofan image category of the embedded image from among image categoriesother than the image category that has been selected using the pull-downmenu 312. For example, when “monochrome image” has been selected as thebackground image, only one of “composite color image” and “color image”can be selected using the pull-down menu 314.

Next, the flow of processing in the information processing apparatus 120corresponding to the present embodiment will be described with referenceto a flowchart of FIG. 5. The processing corresponding to this flowchartcan be realized by, for example, one or more processors (e.g., the CPU200) that function as respective processing units executing acorresponding program (stored in the ROM 201, HD 205, and the like).

First, in step S501, the control unit 121 displays a default backgroundimage in the display region 311 within the display screen 310 of thedisplay unit 122. The default background image can be, for example, amonochrome image. In the next step S502, the control unit 121 determineswhether selection of an image category of the background image has beenaccepted from the user. Using the pull-down menu 312 of the displayscreen 310, the user can select one of a monochrome image, a compositecolor image, and a color image. If it is determined that the selectionby the user has been accepted in step S502, the processing proceeds tostep S503. On the other hand, if the selection by the user has not beenaccepted, the processing proceeds to step S504.

In step S503, the control unit 121 displays an image of the imagecategory that was selected in step S502 in the display region 311 of thedisplay screen 310. For example, when the selected image category of thebackground image is a composite color image, a composite color image isdisplayed in the display region 311. In the next step S504, the controlunit 121 determines whether selection of an image category of anembedded image has been accepted from the user. At this time, the imagecategory that was selected using the pull-down menu 312 is excluded fromthe image categories that can be selected using the pull-down menu 314.As a default setting can be prepared also with respect to the imagecategories of the embedded image, the default setting is used as is whenthe selection by the user is not accepted. The default setting can beone of the image categories other than the image category being selectedas the background image. After the determination of step S504, theprocessing proceeds to step S505.

In step S505, the control unit 121 determines whether designation of theregion 313 within the display region 311 has been accepted from theuser. If the control unit 121 determines that the designation of theregion has been accepted, the processing proceeds to step S506. If thecontrol unit 121 determines that the designation of the region has notbeen accepted, the processing returns to step S502. In step S506, thecontrol unit 121 extracts an image to be displayed in the region 313that was designated in step S505 from an image of the image categorythat has been selected using the pull-down menu 314, and displays theextracted image in the region 313. For example, when a monochrome imagehas been selected as the embedded image, a monochrome image is displayedin the region 313.

In the foregoing description, after the user has designated the region313, the user can switch the image category of the embedded image usingthe pull-down menu 314, which is displayed in relation to this region,and also switch the image category of the background image using thepull-down menu 312.

Furthermore, although the above has described a case where the user candesignate one region 313 within the display region 311, two or moreregions 313 may be settable. Moreover, the shape of the region is notonly a rectangular shape, and can be any shape including a circularshape, an elliptic shape, a polygonal shape, and the like. In addition,a plurality of regions having different shapes, sizes, and frame colorscan be designated with respect to the same background image. In thepresent embodiment, the pull-down menu 314 allows for designation andswitching of an image category collectively for embedded images that aredisplayed in connection with a plurality of regions 313. Furthermore, aregion that has been set on a background image can be deleted from theimage in accordance with a predetermined operation. As a result of thedeletion operation, the original background image is displayed in aportion corresponding to this region.

Furthermore, although the foregoing description has presented a casewhere images of image categories according to default settings aredisplayed before accepting selection by the user with regard to thebackground image and the embedded image, the display of the respectiveimages may be started in response to selection of image categories bythe user. In this case, step S505 may be executed prior to step S504. Inaddition, the contents of the respective settings selected at the timeof completion of previous processing may be stored, and these settingsmay be used as default settings; alternatively, the user may be able toconfigure default settings in advance.

As described above, in the present embodiment, the user can designateeach of the image categories of a background image and an embeddedimage; thus, the user can select the image categories in accordance witha subject included in a captured image, thereby achieving bettervisibility.

Third Embodiment

Next, a third embodiment will be described. A configuration of a system100 according to the present embodiment is similar to that shown in FIG.1, FIG. 2A, and FIG. 2B. In the above-described second embodiment, animage category is designated collectively for embedded images using thepull-down menu 314; in the present embodiment, an image category isselectable for each region that has been set. The present embodiment maybe implemented in combination with the first embodiment and/or thesecond embodiment, or may be implemented alone.

FIG. 3C shows an example of a user interface (UI) that is displayed onthe display unit 122 of the information processing apparatus 120corresponding to the present embodiment. In an example of a displayscreen 320 shown in FIG. 3C, an image based on a captured image that hasbeen captured by the shooting apparatus 110 is displayed in a displayregion 321 for displaying a background image, and a pull-down menu 322for selecting the background image is displayed above this displayregion 321. Also, regions 323, 325 enclosed by a dashed line are regionsdesignated by a user. These regions can be designated by, for example,the user operating an on-screen cursor displayed on the display unit 122using the mouse of the operation unit 126. Pull-down menus 324, 326 aredisplayed in association with the respective regions, and each pull-downmenu allows for selection of an image category of a correspondingembedded image.

The pull-down menu 322 includes “monochrome image”, “composite colorimage”, and “color image” as selection elements for the background imagedisplayed in the display region 321, and allows for selection of one ofthem. On the other hand, the pull-down menus 324, 326 allow forselection of an image category of the embedded image from among imagecategories other than the image category that has been selected usingthe pull-down menu 322. For example, when “monochrome image” has beenselected as the background image, only one of “composite color image”and “color image” can be selected using the pull-down menus 324, 326.

Next, the flow of processing in the information processing apparatus 120corresponding to the present embodiment will be described with referenceto a flowchart of FIG. 6. The processing corresponding to this flowchartcan be realized by, for example, one or more processors (e.g., the CPU200) that function as respective processing units executing acorresponding program (stored in the ROM 201, HD 205, and the like).

First, in step S601, the control unit 121 displays a default backgroundimage in the display region 321 within the display screen 320 of thedisplay unit 122. The default background image can be, for example, amonochrome image. In the next step S602, the control unit 121 determineswhether selection of an image category of the background image has beenaccepted from the user. Using the pull-down menu 322 of the displayscreen 320, the user can select one of a monochrome image, a compositecolor image, and a color image. If it is determined that the selectionby the user has been accepted in step S602, the processing proceeds tostep S603. On the other hand, if the selection by the user has not beenaccepted, the processing proceeds to step S604.

In step S603, the control unit 121 displays an image of the imagecategory that was selected in step S602 in the display region 321 of thedisplay screen 320. For example, when the selected image category of thebackground image is a composite color image, a composite color image isdisplayed in the display region 321. In the next step S604, the controlunit 121 determines whether designation of a region within the displayregion 321 has been accepted from the user. If the control unit 121determines that the designation of the region has been accepted, theprocessing proceeds to step S605. If the control unit 121 determinesthat the designation of the region has not been accepted, the processingreturns to step S602. In step S605, the control unit 121 displays apull-down menu for an embedded image near the designated region. Forexample, when the designation of the region 323 has been accepted, thepull-down menu 324 is displayed.

At this time, a position that has been determined in advance inconnection with the designated region can be used as the displayposition of the pull-down menu for the embedded image. For example, whenthe region has a rectangular shape, the display position may be near alower edge. Alternatively, the display position may be near an upperedge. Furthermore, the display position may be determined based on animage feature around the designated region. For example, the region 323is set so as to surround a part of an automobile. At this time, an upperportion of the region 323 does not include the automobile, but a lowerportion thereof includes the remaining portion of the automobile; thus,although many high-frequency components are detected from the lowerportion, few high-frequency components are detected from the upperportion. In view of this, by displaying the pull-down menu at the upperportion that includes a small amount of information as an image, asubject included in the background image can be prevented from gettinghidden by the pull-down menu, and the visibility is not impaired.

Furthermore, the display position of the pull-down menu may be movedwithin the display region 321 in accordance with a changing instructionfrom the user using the operation unit 126. In this way, the pull-downmenu can be displayed at a position desired by the user. In addition,after the pull-down menu is displayed for a certain period following thedesignation of the region, the pull-down menu may be deleted from withinthe display screen 320. Even after the display has been deleted, thepull-down menu may be displayed again when a region is selected againusing the cursor.

In the next step S606, the control unit 121 determines whether selectionof an image category of the embedded image has been accepted from theuser using the displayed pull-down menu for the embedded image. At thistime, the image category that was selected using the pull-down menu 322for the background image is excluded from the image categories that canbe selected using the pull-down menu for the embedded image. As adefault setting can be prepared also with respect to the imagecategories of the embedded image, the default setting is used as is whenthe selection by the user is not accepted. The default setting can beone of the image categories other than the image category being selectedas the background image. After the determination of step S606, theprocessing proceeds to step S607.

In step S607, the control unit 121 extracts an image to be displayed inthe region that was designated in step S605 from an image of the imagecategory that has been selected using the pull-down menu for theembedded image, and displays the extracted image in the region 323. Forexample, when a color image has been selected as the embedded image, acolor image is displayed in the region.

In the present embodiment also, the shape of the designatable region isnot only a rectangular shape, and can be any shape including a circularshape, an elliptic shape, a polygonal shape, and the like. In addition,a plurality of regions having different shapes, sizes, and frame colorscan be designated with respect to the same background image.

As described above, in the present embodiment, the user can designate animage category of an embedded image for each designated region; thus,the user can select image categories in accordance with subjectsincluded in a captured image, thereby achieving better visibility.

According to the present embodiment, even when there is a possibilitythat significant brightness difference arises in one captured image, animage of an appropriate image category can be designated on a per-regionbasis as shown in FIG. 3C. FIG. 3C shows one example of an imagecaptured at night; here, a subject that is present in a range reached bya street light can be displayed using a color image as it is easilyrecognized due to the bright surrounding, whereas a subject that is notreached by the street light and is surrounded by darkness can bedisplayed using a composite color image. In this way, image categoriescorresponding to the image capturing conditions of subjects can beselected within one image.

Fourth Embodiment

Next, a fourth embodiment will be described. A configuration of a system100 according to the present embodiment is similar to that shown in FIG.1, FIG. 2A, and FIG. 2B. In the second and third embodiments describedabove, the image category of an embedded image is designated using apull-down menu; in the present embodiment, the image category isselectable using a button. The present embodiment may be implemented incombination with at least one of the first to third embodiments, or maybe implemented alone.

FIG. 3D shows an example of a user interface (UI) that is displayed onthe display unit 122 of the information processing apparatus 120corresponding to the present embodiment. In an example of a displayscreen 330 shown in FIG. 3D, an image based on a captured image that hasbeen captured by the shooting apparatus 110 is displayed in a displayregion 331 for displaying a background image, and a pull-down menu 332for selecting the background image is displayed above this displayregion 331. Also, regions 333, 334 are regions designated by a user.These regions can be designated by, for example, the user operating anon-screen cursor displayed on the display unit 122 using the mouse ofthe operation unit 126.

The display screen 330 further includes buttons 335 to 337 as selectionelements. A color display button 335 is a button that displayscharacters, an illustration, or an image that explicitly indicates acolor image. A composite color display button 336 is a button thatdisplays characters, an illustration, or an image that explicitlyindicates a composite color image. A monochrome display button 337 is abutton that displays characters, an illustration, or an image thatexplicitly indicates a monochrome image. In the present embodiment, theimage category of an embedded image can be selected by individuallyselecting one of the buttons 335 to 337, which are the selectionelements, instead of a pull-down menu for the embedded image.

Next, the flow of processing in the information processing apparatus 120corresponding to the present embodiment will be described with referenceto a flowchart of FIG. 7. The processing corresponding to this flowchartcan be realized by, for example, one or more processors (e.g., the CPU200) that function as respective processing units executing acorresponding program (stored in the ROM 201, HD 205, and the like).

First, in step S701, the control unit 121 displays a default backgroundimage in the display region 331 within the display screen 330 of thedisplay unit 122. The default background image can be, for example, amonochrome image. In the next step S702, the control unit 121 determineswhether selection of an image category of the background image has beenaccepted from the user. Using the pull-down menu 332 of the displayscreen 330, the user can select one of a monochrome image, a compositecolor image, and a color image. If it is determined that the selectionby the user has been accepted in step S702, the processing proceeds tostep S703. On the other hand, if the selection by the user has not beenaccepted, the processing proceeds to step S704.

In step S703, the control unit 121 displays an image of the imagecategory that was selected in step S702 in the display region 331 of thedisplay screen 330. For example, when the selected image category of thebackground image is a composite color image, a composite color image isdisplayed in the display region 331. In the next step S704, the controlunit 121 determines whether individual selection of one of the buttons335 to 336 within the display screen 330 has been accepted from theuser. If the control unit 121 determines that the selection of one ofthe buttons has been accepted, the processing proceeds to step S705. Onthe other hand, if the control unit 121 determines that the buttonselection has not been accepted (including a case where the selection ofone of the buttons has already been accepted and that selection has notbeen changed), the processing proceeds to step S706. In accepting thebutton selection in step S704, the control unit 121 may, for example,gray out or hide a button corresponding to the image category that hasbeen selected as the image category of the background image, or acceptno click operations from the user, so as to render the buttonunselectable by the user.

In step S705, based on the image category of the button currentlyselected, the control unit 121 determines the image category that willbe displayed in a designated region if the designation of the region isaccepted in step S706 of a later stage. For example, if the colordisplay button 335 was selected in step S704, the category of anembedded image to be displayed in the region designated in step S706 ofthe later stage is a color image.

In the next step S706, the control unit 121 determines whetherdesignation of a region within the display region 331 has been acceptedfrom the user. If the control unit 121 determines that the designationof the region has been accepted, the processing proceeds to step S707.If the control unit 121 determines that the designation of the regionhas not been accepted, the processing returns to step S702. In acceptingthe designation of the region, display of the region rendered on thedisplay region 331, such as the color of a frame line and the categoryof the line, may be visually associated with a display mode of theselected button. In FIG. 3D, the color display button 335 is depictedusing a solid frame line, and a frame line of the corresponding region334 is also depicted using a solid line. On the other hand, thecomposite color display button 336 is depicted using a dash frame line,and a frame line of the corresponding region 333 is also depicted usinga dashed line. In this way, the category of an image to be displayed inthe designated region can be checked immediately by referring to thedisplay styles of the buttons. There are cases where, depending on asubject or image capturing conditions, which one of a color image, acomposite color image, and a monochrome image is displayed is difficultto understand at first glance; therefore, by displaying a frame line inthe foregoing manner, the user can be notified of an image category in avisually easy-to-understand manner.

In step S707, the control unit 121 extracts an image of the imagecategory that was determined in step S705, and displays the extractedimage in the region that was designated in step S706. For example, ifthe color display button 335 was selected in step S704, a color image isdisplayed in the region. Thereafter, the processing returns to stepS702.

The above has described a case where a region is designated afterselecting a button; however, with regard to a region that has been setonce, a displayed image category can also be changed by switching theselected button. For instance, in the example of FIG. 3D, selecting theregion 333 on the display screen 330 using the cursor will show thecomposite color display button 336 in a selected state; at this time, byselecting the color display button 335, the image category of anembedded image displayed in the region 333 can be changed from acomposite color image to a color image. In this way, with regard to aregion that has been designated after selecting an image category inadvance, the image category can be changed even after the designation ofthe region.

As described above, in the present embodiment, a region in which anembedded image is to be displayed can be designated after selecting theimage category of the embedded image; thus, the user can select theimage category in accordance with a subject included in a capturedimage, thereby achieving better visibility.

Other Embodiments

Embodiment(s) of the present invention can also be realized by acomputer of a system or apparatus that reads out and executes computerexecutable instructions (e.g., one or more programs) recorded on astorage medium (which may also be referred to more fully as a‘non-transitory computer-readable storage medium’) to perform thefunctions of one or more of the above-described embodiment(s) and/orthat includes one or more circuits (e.g., application specificintegrated circuit (ASIC)) for performing the functions of one or moreof the above-described embodiment(s), and by a method performed by thecomputer of the system or apparatus by, for example, reading out andexecuting the computer executable instructions from the storage mediumto perform the functions of one or more of the above-describedembodiment(s) and/or controlling the one or more circuits to perform thefunctions of one or more of the above-described embodiment(s). Thecomputer may comprise one or more processors (e.g., central processingunit (CPU), micro processing unit (MPU)) and may include a network ofseparate computers or separate processors to read out and execute thecomputer executable instructions. The computer executable instructionsmay be provided to the computer, for example, from a network or thestorage medium. The storage medium may include, for example, one or moreof a hard disk, a random-access memory (RAM), a read only memory (ROM),a storage of distributed computing systems, an optical disk (such as acompact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™),a flash memory device, a memory card, and the like.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all such modifications and equivalent structures andfunctions.

This application claims the benefit of Japanese Patent Application No.2018-198706, filed on Oct. 22, 2018, which is hereby incorporated byreference herein in its entirety.

What is claimed is:
 1. An information processing apparatus, comprising:a first acceptance unit configured to accept designation of a firstimage category from among a plurality of image categories including avisible light image, an infrared light image, and a composite imagebased on the visible light image and the infrared light image; a secondacceptance unit configured to accept designation of a second imagecategory from among the plurality of image categories, the second imagecategory being different from the first image category; a displaycontrol unit configured to display an image of the first image categoryaccepted by the first acceptance unit in a display region of a displayunit; and a region acceptance unit configured to accept designation of aregion in the image of the first image category displayed in the displayregion, wherein the display control unit displays an image of the secondimage category accepted by the second acceptance unit in the regionaccepted by the region acceptance unit.
 2. The information processingapparatus according to claim 1, wherein the second acceptance unitfurther configured to accept an image category collectively for aplurality of regions that are designated through the region acceptanceunit.
 3. The information processing apparatus according to claim 1,wherein the second acceptance unit accepts designation of the secondimage category using a plurality of selection elements that respectivelycorrespond to the plurality of image categories.
 4. The informationprocessing apparatus according to claim 3, wherein the second acceptanceunit accepts selection through a pull-down menu that includes theplurality of selection elements.
 5. The information processing apparatusaccording to claim 3, wherein the second acceptance unit acceptsselection through individually-selectable buttons that correspond to theplurality of selection elements.
 6. The information processing apparatusaccording to claim 5, wherein the display control unit displays a buttoncorresponding to the second image category whose designation has beenaccepted, and the region in which the image of the second image categoryis displayed, in a visually associated manner.
 7. The informationprocessing apparatus according to claim 1, wherein when the regionacceptance unit has accepted designation of a plurality of regions, thesecond acceptance unit accepts image categories respectively for theplurality of regions on an individual basis.
 8. The informationprocessing apparatus according to claim 7, wherein the second acceptanceunit accepts designation of the second image category using a pluralityof selection elements that respectively correspond to the plurality ofimage categories.
 9. The information processing apparatus according toclaim 8, wherein the second acceptance unit accepts selection throughpull-down menus that are respectively associated with the plurality ofregions and include the plurality of selection elements.
 10. Theinformation processing apparatus according to claim 9, wherein thedisplay control unit displays the pull-down menus near the regions. 11.The information processing apparatus according to claim 10, wherein thedisplay control unit changes a display position of the pull-down menu inaccordance with an instruction for changing the display position of thepull-down menu.
 12. The information processing apparatus according toclaim 1, wherein the plurality of image categories include at least twoof a color image, a monochrome image, and a composite color imageobtained by compositing the color image and the monochrome image. 13.The information processing apparatus according to claim 1, furthercomprising an obtaining unit configured to obtain images that arerespectively of the plurality of image categories, wherein the obtainedimages have the same size regardless of the image categories.
 14. Acontrol method for an information processing apparatus, comprising:accepting designation of a first image category from among a pluralityof image categories including a visible light image, an infrared lightimage, and a composite image based on the visible light image and theinfrared light image; accepting designation of a second image categoryfrom among the plurality of image categories, the second image categorybeing different from the first image category; displaying an image ofthe accepted first image category in a display region of a display unit;and accepting designation of a region in the image of the accepted firstimage category displayed in the display region, wherein in thedisplaying, an image of the accepted second image category is displayedin the region accepted in the accepting of the designation of theregion.
 15. A computer-readable medium storing a program for causing acomputer to execute a method comprising: accepting designation of afirst image category from among a plurality of image categoriesincluding a visible light image, an infrared light image, and acomposite image based on the visible light image and the infrared lightimage; accepting designation of a second image category from among theplurality of image categories, the second image category being differentfrom the first image category; displaying an image of the accepted firstimage category in a display region of a display unit; and acceptingdesignation of a region in the image of the accepted first imagecategory displayed in the display region, wherein in the displaying, animage of the accepted second image category is displayed in the regionaccepted in the accepting of the designation of the region.